Skip to content

Conversation

@jj22ee
Copy link
Contributor

@jj22ee jj22ee commented Jun 20, 2025

Issue #, if available:

Description of changes:

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@jj22ee jj22ee requested a review from a team as a code owner June 20, 2025 23:31
@jj22ee jj22ee changed the title Initial EMF Exporter implementation with Gauge Support EMF Exporter - Initial implementation with Gauge Support Jun 20, 2025
Comment on lines +46 to +47
sumData?: number;
value?: number;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I consolidated this into one if they're both just a number value

diag.info(`Created log group: ${this.logGroupName}`);
} catch (e: unknown) {
if (e instanceof Error && e.name === 'ResourceAlreadyExistsException') {
diag.info(`Log group ${this.logGroupName} already exists.`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

change to debug level?

this.logStreamExists = true;
} catch (e: unknown) {
if (e instanceof Error && e.name === 'ResourceAlreadyExistsException') {
diag.info(`Log stream ${this.logStreamName} already exists.`);
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the same

Comment on lines +167 to +168
this.logStreamExistsPromise = this.ensureLogGroupExists().then(async () => {
await this.ensureLogStreamExists();
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

make log group/stream into lazy creation based on PLE call

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

can be in next PR

@jj22ee
Copy link
Contributor Author

jj22ee commented Jul 1, 2025

Closing in favor of: #206

@jj22ee jj22ee closed this Jul 1, 2025
@jj22ee jj22ee deleted the emf-exporter-pr1 branch July 14, 2025 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants